package com.zucc.eye.repository;
//import com.software.system.entity.Comment;

import java.util.List;

import com.zucc.eye.entity.Comment;
import com.zucc.eye.entity.Issue;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
/**
 * @description comment
 * @author zhengkai.blog.csdn.net
 * @date 2022-02-09
 */
@Repository
public interface CommentRepository extends JpaRepository<Comment,Integer> {

     List<Comment> findAllByIssueId(Integer issueId);
    List<Comment> findAllByIssueUrl(String issueUrl);

}